home *** CD-ROM | disk | FTP | other *** search
/ Clickx 22 / Clickx 22.iso / DATA / Setup.exe / ForceASPI / KILLDUMP.BAT < prev    next >
Encoding:
DOS Batch File  |  2000-09-03  |  995 b   |  52 lines

  1. @Echo off
  2. SET ver=1.7
  3. IF %OS%==Windows_NT Goto WinNT
  4.  
  5. :Win9x
  6. CLS
  7. Echo killDUMP %ver%
  8. Echo.
  9. Echo Windows 9x or ME Detected.
  10. Echo Windows is in : %winbootdir%
  11. Echo Killing Dumped Files...
  12. Echo   - Win9xDUMP
  13. IF EXIST Win9xDUMP\frcASPI.txt deltree /y Win9xDUMP > nul 
  14. IF NOT EXIST Win9xDUMP\frcASPI.txt Echo   [ no dumped files to kill ]
  15. Echo Done!
  16. Echo.
  17. Echo Your dumped files have been killed.
  18. Goto End
  19.  
  20. :WinNT
  21. CLS
  22. Echo killDUMP %ver%
  23. Echo.
  24. Echo Windows NT or 2000 Detected.
  25. Echo Windows is in : %windir%
  26. Echo Killing Dumped Files...
  27. IF %PROCESSOR_ARCHITECTURE%==x86 Goto Intel
  28. Goto Alpha
  29.  
  30. :Intel
  31. Echo   - WinNTDUMP
  32. IF EXIST WinNTDUMP\frcASPI.txt (
  33.   del /q /s WinNTDUMP > nul
  34.   rd WinNTDUMP > nul
  35. ) ELSE (
  36. Echo   [ no dumped files to kill ]
  37. )
  38. Echo Done!
  39. Echo.
  40. Echo Your dumped files have been killed.
  41. Goto End
  42.  
  43. :Alpha
  44. Echo Alpha CPU Detected.
  45. Echo Sorry, only Intel x86 and compatible platforms are supported.
  46. Goto End
  47.  
  48. :End
  49. SET ver=
  50. pause
  51. exit
  52.